package com.example.springbootjpa.service;


import com.example.springbootjpa.model.Teacher;

import java.util.List;

public interface TeacherService {
    List<Teacher> selectAll();
    void add(Teacher teacher);
    void update(Teacher teacher);
    void delete(int id);
}
